package com.jiyun.testlist.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.jiyun.model.Quiz;
import com.jiyun.vo.QuizVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface QuziMapper extends BaseMapper<Quiz> {
    Page<QuizVo> findPage(Page<QuizVo> quizVoPage,@Param("qu") QuizVo quizVo);

    @Select("select count(id) from quiz")
    Integer find4();
}
